li{
    list-style: none;
}

body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;

    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    font-family: -apple-system, Helvetica, sans-serif;

    box-sizing: border-box;

 
}

/* 清除浮动 */

.clearfix:after{
    content: "020"; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;  
    }
  
  .clearfix {
    /* 触发 hasLayout */ 
    zoom: 1; 
    }


a {
    text-decoration: none;
    color: #666;
}

/* APP */

.app {
    height: 45px;
}

ul {
    padding: 0;
    margin: 0;
}

img {
    vertical-align: middle;
}

.app ul li {
    height: 45px;
    background-color: #333;
    float: left;
    list-style: none;
    text-align: center;
    line-height: 45px;
    color: #fff;
}

.app ul li:nth-child(1) {
    width: 8%;
}

.app ul li:nth-child(1) img {
    width: 10px;
}

.app ul li:nth-child(2) {
    width: 10%;
}

.app ul li:nth-child(2) img {
    /* 图片和文字的基线对齐 */
    vertical-align: middle;
    width: 30px;
}

.app ul li:nth-child(3) {
    width: 57%;
}

.app ul li:nth-child(4) {
    width: 25%;
    background-color: #F61535
}


/* 搜索框 */
.serach-wrap {
    z-index: 999;
    position: absolute;
    width: 100%;
    height: 44px;
    overflow: hidden;
    min-width: 320px;
    max-width: 640px;
}

.search-btn,
.search-login {
    position: absolute;
    width: 40px;
    height: 44px;
    top: 0;
}

.search-btn {
    left: 0;
}

.search-btn::before {
    content: '';
    display: block;
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png) no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}


.search-login {
    right: 0;
    color: #fff;
    line-height: 44px;
}

.search {
    position: relative;
    height: 30px;
    margin: 0 50px;
    background-color: #fff;
    border-radius: 15px;
    margin-top: 7px;
}

.jd-icon {
    width: 20px;
    height: 15px;
    position: absolute;
    top: 8px;
    left: 13px;
    background: url(../images/jd.png);
    background-size: 20px 15px;
}

.jd-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}

.sou {
    position: absolute;
    top: 8px;
    left: 50px;
    width: 18px;
    height: 15px;
    background: url(../images/jd-sprites.png) no-repeat -83px 0;
    background-size: 200px auto;
}

.search-input {
    position: absolute;
    top: 5px;
    left: 76px;

}

.search-input input {
    font-size: 12px;
    color: #232326;
    /* 模块可以伸缩 */
    -webkit-box-flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline: none;
    border: 0;
}

/* 主体部分 */
.slider img {
    width: 100%;
}


.swiper-container {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

/* 主体品牌 */
.brand {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.brand div {
    float: left;
    width: 33.33%;
}

.brand div img {
    width: 100%;
}

/* 导航栏 */
nav {
    padding-top: 5px;
}

nav a {
    float: left;
    width: 20%;
    text-align: center;
}

nav a img{
   width: 40px;
   margin: 10px 0;
}

nav a span {
    display: block;
}

/* 新闻模块 */
.news {
    margin-top: 20px;
}
.news img{
    width: 100%;
}

.news a{
    float: left;
    box-sizing: border-box;
}

.news a:nth-child(1) {
    width: 50%;
}

.news a:nth-child(n+2) {
    width: 25%;
    border-left:1px solid #ccc;
}
/* 展示模块 */
.show {
    margin-top: 15px;
    overflow: hidden;

}
.show ul li {
    margin-left: 1%;
    margin-top: 10px;
    display: block;
    float: left;
    width: 48%;
    height: 275px;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #ccc;
}

.show ul li>img {
    width:100%;
}

.show ul li span{
    box-sizing: border-box;
    height: 31px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    color: #1a1a1a;
    margin-top: 5px;
    line-height: 16px;
    margin-bottom: 3px;
    padding: 0 4px;
}

.show ul li span .jd-shopping{
    height: 13px;
}

.show ul li p span {
    font-size: 16px;
    font-weight: 700;
    color: #fa2c19;
}


/* 底部导航栏 */
.nav-bottom {
    margin-top: 10px;
    background-color: #fff;
    height: 55px;
    border: 1px solid #e7ddddda;
    border-radius: 15px;
}

.nav-bottom ul {
    display: flex;
}

.nav-bottom li {
    flex: 1;
}

.nav-bottom li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.nav-botom-item {
    width: 20px;
    height: 20px;
    background: url(../images/sprite.png) no-repeat -59px -154px;
    background-size: 104px auto;
}

.swiper-pagination-bullet {
    background: #fff!important  ;
}